<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
	<link rel="stylesheet" href="../../../styles/index.css">
	<style>
		.box {
			width: 300px;
			height: 300px;
			display: flex;
			border: solid 1px crimson;
			box-sizing: border-box;
			margin: 0 10px;
		}

		.box>div {
			width: 100px;
			height: 100px;
			background-color: skyblue;
			margin: 2px;

			flex-basis: 200px;
		}

		.box.box2 {
			flex-direction: column;
		}
	</style>
</head>

<body>
	<div class="container flex">
		<div class="box">
			<div>box1</div>
		</div>

		<div class="box box2">
			<div>box1</div>
		</div>
	</div>
</body>

</html>